package com.wenda.homeschooedu.biz;

import java.util.List;

import com.wenda.homeschooedu.dao.Iinform;
import com.wenda.homeschooedu.daoimpl.InformService;
import com.wenda.homeschooedu.model.Information;

public class InformManager {
	Iinform service ;
	
	public InformManager() {
		service = new InformService();
	}
	
	public List<Information> getInformByClassId(int class_id){
		return service.getInformationsByClassId(class_id);
	}
	public List<Information> getInformationByStudentId(int student_id){
		return service.getInformationsByStudentId(student_id);
	}
	
	public List<Information> getNewInformByOldId(int student_id ,int oldInform_id){
		return service.getNewInformationsByStudentId(student_id , oldInform_id);
	}
	
	
	
	
}
